@import '../../var';
.itemContainer {
  position: relative;
}

.imgBox {
  position: relative;
  width: 328rpx;
  height: 328rpx;
  margin: auto;
  background-color: $img-color;
  image {
    width: 100%;
    height: 100%;
  }
  .play {
    width: 52rpx;
    height: 52rpx;
    position: absolute;
    left: 28rpx;
    bottom: 30rpx;
  }
  .limitBox {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 80rpx;
    background-color: rgba(0, 0, 0, 0.4);
    .tips {
      width: 100%;
      margin-top: 15rpx;
      color: #ffffff;
      font-size: 22rpx;
      text-align: center;
    }
    .btn {
      width: 120rpx;
      height: 44rpx;
      margin-top: 30rpx;
      padding: 0;
      color: #ffffff;
      font-size: 22rpx;
      line-height: 44rpx;
      background-color: transparent;
      border: 2rpx solid #fff;
      border-radius: 6rpx;
      box-shadow: 0rpx 1rpx 2rpx 0rpx rgba(0, 0, 0, 0.2);
    }
  }
  .limitBoxs {
    position: absolute;
    top: 20rpx;
    right: 20rpx;
    width: 120rpx;
    height: 44rpx;
    color: #fff;
    font-size: 22rpx;
    line-height: 44rpx;
    text-align: center;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6rpx;
  }
}

.title {
  position: relative;
  display: -webkit-box;
  width: 284rpx;
  height: 64rpx;
  margin: 24rpx 0rpx 0rpx 20rpx;
  overflow: hidden;
  color: $title-color;
  line-height: 32rpx;
  text-overflow: -o-ellipsis-lastline;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  vertical-align: middle;
  .make {
    position: absolute;
    display: inline-block;
    height: 30rpx;
    margin-right: 7rpx;
    padding: 0 5rpx;
    color: #fcedbd;
    font-size: 20rpx;
    line-height: 30rpx;
    text-align: center;
    background: linear-gradient(314deg, rgba(26, 26, 26, 1) 0%, rgba(83, 83, 83, 1) 100%);
    border-radius: 3rpx;
  }
  .hasMake {
    display: block;
    text-indent: 2em;
  }
}

.price {
  display: flex;
  width: 284rpx;
  height: 25rpx;
  margin: 20rpx 0rpx 0rpx 20rpx;
  color: $price-color;
  font-weight: 700;
  font-size: 30rpx;
  line-height: 30rpx;
  .tips {
    height: 28rpx;
    margin-right: 8rpx;
    color: #fff;
    font-size: 18rpx;
    background: linear-gradient(270deg, rgba(252, 42, 64, 1) 0%, rgba(252, 122, 45, 1) 100%);
    border-radius: 14rpx 0px 14rpx 0px;
    text {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .text {
      width: 31rpx;
      height: 100%;
      border-right: 1rpx solid #fff;
    }
    .tipsPrice {
      padding: 0rpx 9rpx;
    }
  }
  .priceTitile {
    color: $price-color;
    font-weight: 700;
    font-size: 30rpx;
  }
}

.oldPrice {
  width: 284rpx;
  height: 19rpx;
  margin: 18rpx 0rpx 0rpx 20rpx;
  color: $decor-color;
  font-size: 20rpx;
}

.free {
  color: $info-color !important;
}

.takeDown {
  opacity: 1 !important;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 198rpx;
  height: 72rpx;
  font-size: 30rpx;
  line-height: 72rpx;
  font-weight: 600;
  margin: auto;
  border-radius: 6rpx;
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  top: 128rpx;
}
